//
//  ScriptManager.h
//  GSEngine
//
//  Created by Андрей Гукун on 05.02.14.
//  Copyright (c) 2014 SNK. All rights reserved.
//

#ifndef __GSEngine__ScriptManager__
#define __GSEngine__ScriptManager__

#include <iostream>

namespace GSEngine
{
    class ScriptManager
    {
    public:
        // data
        static ScriptManager* m_instance;
        // methods
        ScriptManager();
        ~ScriptManager();
        static ScriptManager* getInstance();
    };
    inline ScriptManager* ScriptManager::getInstance()
    {
        if (m_instance == NULL)
            m_instance = new ScriptManager();
        return m_instance;
    }
}

#endif /* defined(__GSEngine__ScriptManager__) */
